﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;
using System.Xml.Serialization;

namespace NetBay.Core.BusinessEntities.Workflow.Rules
{
    [XmlTypeAttribute(AnonymousType = true, TypeName = "WkfState")]
    [Serializable]
    public class WkfState
    {
        [XmlAttributeAttribute()]
        public WorkflowState Value { get; set; }

        [XmlArray("Actions", IsNullable = false)]
        [XmlArrayItem("Action")]
        public ObservableCollection<Action> Actions { get; set; }



    }
}
